/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.misc.dts.service;

import org.springframework.web.multipart.MultipartFile;
import org.vacoor.nothing.misc.dts.domain.Document;

import java.io.InputStream;
import java.util.List;

/**
 * @author vacoor
 */
public interface DocumentService {

    String/*did*/ addDocument(MultipartFile multipart);

    Document getDocument(String did);

    List<Document> getDocuments();

    InputStream getSnapshot(String pdfHash, int page);

}
